﻿using LibNiconico.NiconicoApi.Internal.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace LibNiconico.NiconicoApi.Internal
{
    internal class NiconicoInfoGetApiCookieImpl : NiconicoInfoGetApiImpl
    {
        internal NiconicoInfoGetApiCookieImpl(Uri url, INiconicoHttpClient api) : base(url, api) { }

        internal async Task<NiconicoHttpResponse<CookieContainer>> GetAsync(NicoUrlAble urlAble)
        {
            return await base.GetCookieAsync(urlAble).ConfigureAwait(false);
        }

        internal async Task<NiconicoHttpResponse<CookieContainer>> PostAsync(NicoUrlEncodedPostAble postAble)
        {
            return await base.PostCookieAsync(postAble).ConfigureAwait(false);
        }
    }
}
